package com.wootion.cims.module.systemsetting.community.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wootion.cims.module.systemsetting.community.model.SysCommunity;
import com.wootion.cims.response.ResponseResult;
import org.springframework.http.HttpRequest;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: LanQiang
 * @Date: 2022/11/21/11:27
 * @Description: 作用xxx
 */
public interface SysCommunityService{

    /**
     * 查询所有社区信息/或条件查询,并分页返回
     * @param condition
     * @param limit
     * @param page
     * @return
     */
    ResponseResult list(String condition,Integer page,Integer limit);

    /**
     * 修改社区
     * @param sysCommunity
     * @return
     */
    ResponseResult update(SysCommunity sysCommunity);

    /**
     * 添加社区
     * @param sysCommunity
     * @return
     */
    ResponseResult save(SysCommunity sysCommunity);
    
    /**
     * 删除社区
     * @param sysCommunity
     */
    ResponseResult deleteCommunity(SysCommunity sysCommunity);
}
